package com.example.new6.entity;

public class Hot {
    private String title;
    private int index;
    private String hotValue;
    private String link;

    // 构造函数、getter 和 setter
    public Hot(String title, int index, String hotValue, String link) {
        this.title = title;
        this.index = index;
        this.hotValue = hotValue;
        this.link = link;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }
    public String getHotValue() {
        return hotValue;
    }
    public void setHotValue(String hotValue) {
        this.hotValue = hotValue;
    }
    public String getLink() {
        return link;
    }
    public void setLink(String link) {
        this.link = link;
    }
    @Override
    public String toString() {
        return "Hot{" +
                "title='" + title + '\'' +
                ", index=" + index +
                ", hotValue='" + hotValue + '\'' +
                ", link='" + link + '\'' +
                '}';
    }
}
